(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ADD_CHECKLIST:()=>se,CHANGE_COUNTRY:()=>Ot,CLEAR_FACEBOOK_IMAGE:()=>Nr,CLEAR_TWITTER_IMAGE:()=>Ir,CLOSE_EDITOR_MODAL:()=>je,CUSTOM_FIELD_RESULTS:()=>Jt,DISMISS_ALERT:()=>at,DISMISS_ALERT_SUCCESS:()=>st,FIND_CUSTOM_FIELDS:()=>Zt,GET_SCHEMA_ARTICLE_DATA:()=>_t,GET_SCHEMA_PAGE_DATA:()=>mt,HIDE_REPLACEMENT_VARIABLES:()=>rr,LOAD_ADVANCED_SETTINGS:()=>Y,LOAD_CORNERSTONE_CONTENT:()=>Pe,LOAD_ESTIMATED_READING_TIME:()=>P,LOAD_FACEBOOK_PREVIEW:()=>Lr,LOAD_FOCUS_KEYWORD:()=>Xe,LOAD_SNIPPET_EDITOR_DATA:()=>sr,LOAD_TWITTER_PREVIEW:()=>Ar,MODAL_DISMISS:()=>It,MODAL_OPEN:()=>At,MODAL_OPEN_NO_KEYPHRASE:()=>Rt,NEW_REQUEST:()=>Ct,NO_DATA_FOUND:()=>Nt,OPEN_EDITOR_MODAL:()=>Ye,REFRESH:()=>ir,REMOVE_REPLACEMENT_VARIABLE:()=>nr,RUN_ANALYSIS:()=>te,SET_ACTIVE_MARKER:()=>U,SET_ADVANCED:()=>B,SET_ARTICLE_TYPE:()=>gt,SET_BREADCRUMBS_TITLE:()=>G,SET_CANONICAL_URL:()=>V,SET_CONTENT_IMAGE:()=>Bt,SET_CORNERSTONE_CONTENT:()=>be,SET_CURRENT_PROMOTIONS:()=>Me,SET_DISMISSED_ALERTS:()=>ot,SET_EDITOR_DATA_CONTENT:()=>We,SET_EDITOR_DATA_EXCERPT:()=>Fe,SET_EDITOR_DATA_IMAGE_URL:()=>Ke,SET_EDITOR_DATA_SLUG:()=>xe,SET_EDITOR_DATA_TITLE:()=>Ue,SET_ESTIMATED_READING_TIME:()=>O,SET_FACEBOOK_DESCRIPTION:()=>br,SET_FACEBOOK_IMAGE:()=>Cr,SET_FACEBOOK_TITLE:()=>vr,SET_FLESCH_READING_EASE:()=>v,SET_FOCUS_KEYWORD:()=>Ze,SET_IS_PREMIUM:()=>Tn,SET_LOGIN_STATUS:()=>Lt,SET_MARKER_PAUSE_STATUS:()=>nt,SET_MARKER_STATUS:()=>tt,SET_NO_FOLLOW:()=>H,SET_NO_INDEX:()=>x,SET_PAGE_TYPE:()=>Et,SET_POST_ID:()=>yn,SET_PRIMARY_TAXONOMY:()=>ut,SET_PROMINENT_WORDS:()=>b,SET_REQUEST_FAILED:()=>vt,SET_REQUEST_LIMIT_REACHED:()=>bt,SET_REQUEST_SUCCEEDED:()=>Pt,SET_SETTINGS:()=>Ht,SET_SHOPPING_DATA:()=>jt,SET_TEXT_LENGTH:()=>C,SET_TWITTER_DESCRIPTION:()=>yr,SET_TWITTER_IMAGE:()=>wr,SET_TWITTER_TITLE:()=>Sr,SET_WARNING_MESSAGE:()=>Kr,SET_WORDPROOF_TIMESTAMP:()=>q,SWITCH_MODE:()=>zt,TOGGLE_CORNERSTONE_CONTENT:()=>ve,UPDATE_DATA:()=>Xt,UPDATE_REPLACEMENT_VARIABLE:()=>er,UPDATE_REPLACEMENT_VARIABLES_BATCH:()=>tr,UPDATE_SETTINGS:()=>Gt,UPDATE_SHORTCODES_FOR_PARSING:()=>re,UPDATE_SNIPPET_DATA:()=>ee,UPDATE_WORDS_TO_HIGHLIGHT:()=>ar,WINCHER_MODAL_DISMISS:()=>Hr,WINCHER_MODAL_OPEN:()=>Br,WINCHER_MODAL_OPEN_NO_KEYPHRASE:()=>Gr,WINCHER_NEW_REQUEST:()=>zr,WINCHER_SET_AUTOMATICALLY_TRACK_ALL_REQUEST:()=>Jr,WINCHER_SET_KEYPHRASE_LIMIT_REACHED:()=>Qr,WINCHER_SET_LOGIN_STATUS:()=>Xr,WINCHER_SET_REQUEST_FAILED:()=>$r,WINCHER_SET_REQUEST_SUCCEEDED:()=>jr,WINCHER_SET_SEO_PERFORMANCE_TRACKED_KEYPHRASES:()=>dn,WINCHER_SET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE:()=>ln,WINCHER_SET_TRACK_ALL_REQUEST:()=>Zr,WINCHER_SET_WEBSITE_ID:()=>cn,WINCHER_UNSET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE:()=>un,addChecklist:()=>oe,clearFacebookPreviewImage:()=>Ur,clearTwitterPreviewImage:()=>Dr,closeEditorModal:()=>Qe,dismissAlert:()=>ct,findCustomFields:()=>lr,getSchemaArticleData:()=>wt,getSchemaPageData:()=>yt,hideReplacementVariables:()=>mr,loadAdvancedSettingsData:()=>J,loadCornerstoneContent:()=>Ce,loadEstimatedReadingTime:()=>L,loadFacebookPreviewData:()=>Fr,loadFocusKeyword:()=>Je,loadTwitterPreviewData:()=>Or,openEditorModal:()=>$e,refreshSnippetEditor:()=>gr,removeReplacementVariable:()=>Er,runAnalysis:()=>ie,setActiveMarker:()=>F,setAdvanced:()=>Q,setArticleType:()=>St,setBreadcrumbsTitle:()=>z,setCanonical:()=>X,setContentImage:()=>qt,setCornerstoneContent:()=>Ne,setCurrentPromotions:()=>ke,setDismissedAlerts:()=>lt,setEditorDataContent:()=>He,setEditorDataExcerpt:()=>Ge,setEditorDataImageUrl:()=>Ve,setEditorDataSlug:()=>qe,setEditorDataTitle:()=>Be,setEstimatedReadingTime:()=>N,setFacebookPreviewDescription:()=>kr,setFacebookPreviewImage:()=>Wr,setFacebookPreviewTitle:()=>Mr,setFleschReadingEase:()=>M,setFocusKeyword:()=>et,setInclusiveLanguageResults:()=>Re,setIsPremium:()=>Sn,setLinkParams:()=>In,setMarkerPauseStatus:()=>it,setMarkerStatus:()=>rt,setNoFollow:()=>$,setNoIndex:()=>j,setOverallInclusiveLanguageScore:()=>De,setOverallReadabilityScore:()=>he,setOverallSeoScore:()=>fe,setPageType:()=>Tt,setPluginUrl:()=>An,setPostId:()=>wn,setPrimaryTaxonomyId:()=>dt,setProminentWords:()=>k,setReadabilityResults:()=>Ae,setSEMrushChangeCountry:()=>Ft,setSEMrushDismissModal:()=>ht,setSEMrushLoginStatus:()=>xt,setSEMrushNewRequest:()=>Mt,setSEMrushNoKeyphraseMessage:()=>Dt,setSEMrushNoResultsFound:()=>Kt,setSEMrushOpenModal:()=>ft,setSEMrushRequestFailed:()=>Wt,setSEMrushRequestSucceeded:()=>kt,setSEMrushSetRequestLimitReached:()=>Ut,setSeoResultsForKeyword:()=>Ie,setSettings:()=>Vt,setShoppingData:()=>$t,setTextLength:()=>W,setTwitterPreviewDescription:()=>hr,setTwitterPreviewImage:()=>fr,setTwitterPreviewTitle:()=>Rr,setWarningMessage:()=>xr,setWincherAutomaticKeyphaseTracking:()=>on,setWincherDismissModal:()=>Vr,setWincherLoginStatus:()=>an,setWincherNewRequest:()=>en,setWincherNoKeyphrase:()=>Yr,setWincherOpenModal:()=>qr,setWincherRequestFailed:()=>rn,setWincherRequestSucceeded:()=>tn,setWincherSetKeyphraseLimitReached:()=>nn,setWincherTrackAllKeyphrases:()=>sn,setWincherTrackedKeyphrases:()=>mn,setWincherTrackingForKeyphrase:()=>En,setWincherWebsiteId:()=>pn,setWistiaEmbedPermission:()=>Rn,setWistiaEmbedPermissionValue:()=>hn,setWordProofTimestamp:()=>Z,switchMode:()=>or,toggleCornerstoneContent:()=>Le,unsetWincherTrackingForKeyphrase:()=>gn,updateAnalysisData:()=>ne,updateData:()=>cr,updateReplacementVariable:()=>ur,updateReplacementVariablesBatch:()=>dr,updateSettings:()=>Yt,updateShortcodesForParsing:()=>ae,updateWordsToHighlight:()=>pr});var r={};e.r(r),e.d(r,{getActiveMarker:()=>Fa,getAdvanced:()=>wi,getAnalysisData:()=>ga,getAnalysisTimestamp:()=>pa,getArticleType:()=>as,getBaseUrlFromSettings:()=>ji,getBreadcrumbsTitle:()=>Ii,getCanonical:()=>Ai,getChecklistItems:()=>_a,getContentImage:()=>ya,getContentLocale:()=>ki,getDateFromSettings:()=>$i,getDefaultArticleType:()=>is,getDefaultPageType:()=>rs,getDescription:()=>ua,getEditorContext:()=>Oi,getEditorDataContent:()=>Ui,getEditorDataExcerpt:()=>Ki,getEditorDataExcerptWithFallback:()=>xi,getEditorDataImageFallback:()=>Bi,getEditorDataImageUrl:()=>Hi,getEditorDataSlug:()=>Gi,getEditorDataTitle:()=>Fi,getEditorType:()=>Mi,getEstimatedReadingTime:()=>pi,getFacebookAltText:()=>Na,getFacebookDescription:()=>va,getFacebookDescriptionFallback:()=>Wa,getFacebookDescriptionOrFallback:()=>Ua,getFacebookImageSrc:()=>Ca,getFacebookImageUrl:()=>ba,getFacebookTitle:()=>Pa,getFacebookTitleFallback:()=>Ma,getFacebookTitleOrFallback:()=>ka,getFacebookWarnings:()=>La,getFleschReadingEaseDifficulty:()=>gi,getFleschReadingEaseScore:()=>Ei,getFocusKeyphrase:()=>Vi,getFocusKeyphraseErrors:()=>qi,getImageFallback:()=>wa,getInclusiveLanguageResults:()=>Za,getIsBlockEditor:()=>bi,getIsDraft:()=>Li,getIsElementorEditor:()=>Ci,getIsKeywordAnalysisActive:()=>qa,getIsLoading:()=>hi,getIsModalOpen:()=>Sa,getIsPremium:()=>Ys,getIsProduct:()=>vi,getIsTerm:()=>Ni,getIsWooSeoActive:()=>$s,getIsWooSeoUpsell:()=>js,getMarkButtonStatus:()=>ts,getMarkerPauseStatus:()=>Ka,getMarksButtonStatus:()=>Ha,getNoFollow:()=>yi,getNoIndex:()=>Si,getPageType:()=>ns,getPermalink:()=>da,getPostId:()=>Qs,getPostOrPageString:()=>Pi,getPreference:()=>Ga,getPreferences:()=>Va,getPrimaryTaxonomyId:()=>Ya,getReadabilityResults:()=>Xa,getRecommendedReplaceVars:()=>Qi,getReplaceVars:()=>Xi,getReplacedExcerpt:()=>Oa,getResultById:()=>es,getResultsForFocusKeyword:()=>Ja,getResultsForKeyword:()=>za,getSEMrushIsRequestPending:()=>cs,getSEMrushLoginStatus:()=>ms,getSEMrushModalOpen:()=>ss,getSEMrushNoKeyphraseMessage:()=>os,getSEMrushRequestHasData:()=>gs,getSEMrushRequestIsSuccess:()=>ls,getSEMrushRequestKeyphrase:()=>ps,getSEMrushRequestLimitReached:()=>ds,getSEMrushRequestResponse:()=>us,getSEMrushSelectedCountry:()=>Es,getSeoDescriptionTemplate:()=>fa,getSeoResults:()=>Qa,getSeoTitle:()=>la,getSeoTitleTemplate:()=>Aa,getSeoTitleTemplateNoFallback:()=>Ra,getShoppingData:()=>_s,getShortcodesForParsing:()=>Ea,getSiteIconUrlFromSettings:()=>zi,getSiteName:()=>Yi,getSiteUrl:()=>Ia,getSnippetEditorData:()=>aa,getSnippetEditorDescription:()=>ra,getSnippetEditorDescriptionWithTemplate:()=>na,getSnippetEditorIsLoading:()=>oa,getSnippetEditorMode:()=>Ji,getSnippetEditorPreviewImageUrl:()=>ca,getSnippetEditorSlug:()=>ia,getSnippetEditorTemplates:()=>Zi,getSnippetEditorTitle:()=>ea,getSnippetEditorTitleWithTemplate:()=>ta,getSnippetEditorWordsToHighlight:()=>sa,getSocialDescriptionTemplate:()=>Da,getSocialTitleTemplate:()=>ha,getTextLength:()=>_i,getTwitterAltText:()=>As,getTwitterDescription:()=>Ss,getTwitterDescriptionFallback:()=>Ds,getTwitterDescriptionOrFallback:()=>Os,getTwitterImageSrc:()=>Is,getTwitterImageType:()=>ws,getTwitterImageUrl:()=>ys,getTwitterTitle:()=>Ts,getTwitterTitleFallback:()=>hs,getTwitterTitleOrFallback:()=>fs,getTwitterWarnings:()=>Rs,getWarningMessage:()=>Ps,getWincherAllKeyphrasesMissRanking:()=>Vs,getWincherHistoryDaysLimit:()=>Us,getWincherKeyphraseLimitReached:()=>Ls,getWincherLimit:()=>Ws,getWincherLoginStatus:()=>Ms,getWincherModalOpen:()=>vs,getWincherPermalink:()=>qs,getWincherRequestIsSuccess:()=>Cs,getWincherRequestResponse:()=>Ns,getWincherTrackableKeyphrases:()=>Gs,getWincherTrackedKeyphrases:()=>Hs,getWincherWebsiteId:()=>xs,getWordProofTimestamp:()=>Ri,hasWincherNoKeyphrase:()=>bs,hasWincherTrackedKeyphrases:()=>Bs,isAlertDismissed:()=>Ba,isCornerstoneContent:()=>ma,isFleschReadingEaseAvailable:()=>mi,isFormalitySupported:()=>Ti,isMarkingAvailable:()=>xa,isPromotionActive:()=>Ta,isWincherNewlyAuthenticated:()=>ks,selectImageLink:()=>eo,selectLink:()=>Zs,selectLinkParam:()=>Xs,selectLinkParams:()=>zs,selectPluginUrl:()=>Js,selectWistiaEmbedPermission:()=>to,selectWistiaEmbedPermissionError:()=>io,selectWistiaEmbedPermissionStatus:()=>no,selectWistiaEmbedPermissionValue:()=>ro,shouldWincherAutomaticallyTrackAll:()=>Ks,shouldWincherTrackAll:()=>Fs});const n=window.yoast.reduxJsToolkit,i=window.wp.url,a=window.lodash,s="linkParams",o=(0,n.createSlice)({name:s,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),c=(o.getInitialState,{selectLinkParam:(e,t,r={})=>(0,a.get)(e,`${s}.${t}`,r),selectLinkParams:e=>(0,a.get)(e,s,{})});c.selectLink=(0,n.createSelector)([c.selectLinkParams,(e,t)=>t,(e,t,r={})=>r],((e,t,r)=>(0,i.addQueryArgs)(t,{...e,...r})));const l=o.actions,u=o.reducer,d=(0,n.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:r="default",title:i,description:a})=>({payload:{id:e||(0,n.nanoid)(),variant:t,size:r,title:i||"",description:a}})},removeNotification:(e,{payload:t})=>(0,a.omit)(e,t)}}),p=(d.getInitialState,d.actions,d.reducer,"pluginUrl"),E=(0,n.createSlice)({name:p,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),g=(E.getInitialState,{selectPluginUrl:e=>(0,a.get)(e,p,"")});g.selectImageLink=(0,n.createSelector)([g.selectPluginUrl,(e,t,r="images")=>r,(e,t)=>t],((e,t,r)=>[(0,a.trimEnd)(e,"/"),(0,a.trim)(t,"/"),(0,a.trimStart)(r,"/")].join("/")));const m=E.actions,_=E.reducer;window.wp.apiFetch;const T="request",S="success",y="error",w="idle",I="wistiaEmbedPermission",A=(0,n.createSlice)({name:I,initialState:{value:!1,status:w,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${I}/${T}`,(e=>{e.status="loading"})),e.addCase(`${I}/${S}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${I}/${y}`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,a.get)(t,"error.code",500),message:(0,a.get)(t,"error.message","Unknown")}}))}}),R=(A.getInitialState,{selectWistiaEmbedPermission:e=>(0,a.get)(e,I,{value:!1,status:w}),selectWistiaEmbedPermissionValue:e=>(0,a.get)(e,[I,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,a.get)(e,[I,"status"],w),selectWistiaEmbedPermissionError:e=>(0,a.get)(e,[I,"error"],{})}),h={...A.actions,setWistiaEmbedPermission:function*(e){yield{type:`${I}/${T}`};try{return yield{type:I,payload:e},{type:`${I}/${S}`,payload:{value:e}}}catch(t){return{type:`${I}/${y}`,payload:{error:t,value:e}}}}},f=A.reducer;class D{static get estimatedReadingTimeElement(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}static get estimatedReadingTime(){return D.estimatedReadingTimeElement&&D.estimatedReadingTimeElement.value||""}static set estimatedReadingTime(e){D.estimatedReadingTimeElement&&(D.estimatedReadingTimeElement.value=e)}}const O="SET_ESTIMATED_READING_TIME",P="LOAD_ESTIMATED_READING_TIME",v="SET_FLESCH_READING_EASE",b="SET_PROMINENT_WORDS",C="SET_TEXT_LENGTH",N=e=>(D.estimatedReadingTime=e.toString(),{type:O,payload:e}),L=()=>({type:P,payload:(0,a.toSafeInteger)(D.estimatedReadingTime)}),M=({score:e,difficulty:t})=>({type:v,payload:{score:e,difficulty:t}}),k=e=>({type:b,payload:e}),W=e=>({type:C,payload:e}),U="WPSEO_SET_ACTIVE_MARKER";function F(e){return{type:U,activeMarker:e}}class K{static get noIndexElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}static get noFollowElement(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}static get advancedElement(){return document.getElementById("yoast_wpseo_meta-robots-adv")}static get breadcrumbsTitleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}static get canonicalElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}static get wordproofTimestampElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_wordproof_timestamp":"hidden_wpseo_wordproof_timestamp")}static get noIndex(){return K.noIndexElement&&K.noIndexElement.value||""}static set noIndex(e){K.noIndexElement.value=e}static get noFollow(){return K.noFollowElement&&K.noFollowElement.value||""}static set noFollow(e){K.noFollowElement.value=e}static get advanced(){return K.advancedElement&&K.advancedElement.value||""}static set advanced(e){K.advancedElement.value=e}static get breadcrumbsTitle(){return K.breadcrumbsTitleElement&&K.breadcrumbsTitleElement.value||""}static set breadcrumbsTitle(e){K.breadcrumbsTitleElement.value=e}static get canonical(){return K.canonicalElement&&K.canonicalElement.value||""}static set canonical(e){K.canonicalElement.value=e}static get wordproofTimestamp(){return K.wordproofTimestampElement&&"1"===K.wordproofTimestampElement.value||!1}static set wordproofTimestamp(e){K.wordproofTimestampElement.value=e?"1":"0"}}const x="SET_NO_INDEX",H="SET_NO_FOLLOW",B="SET_ADVANCED",G="SET_BREADCRUMBS_TITLE",V="SET_CANONICAL_URL",q="SET_WORDPROOF_TIMESTAMP",Y="LOAD_ADVANCED_SETTINGS",j=e=>(K.noIndex=e,{type:x,value:e}),$=e=>(K.noFollow=e,{type:H,value:e}),Q=e=>(K.advanced=e.join(","),{type:B,value:e}),z=e=>(K.breadcrumbsTitle=e,{type:G,value:e}),X=e=>(K.canonical=e,{type:V,value:e}),Z=e=>(K.wordproofTimestamp=e,{type:q,value:e}),J=()=>({type:Y,settings:{noIndex:K.noIndex,noFollow:K.noFollow,advanced:K.advanced.split(","),breadcrumbsTitle:K.breadcrumbsTitle,canonical:K.canonical,wordproofTimestamp:K.wordproofTimestamp,isLoading:!1}}),ee="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",te="RUN_ANALYSIS",re="UPDATE_SHORTCODES_FOR_PARSING";function ne(e){return{type:ee,data:e}}function ie(){return{type:te,timestamp:Date.now()}}function ae(e){return{type:re,shortcodesForParsing:e}}const se="ADD_CHECKLIST";function oe(e,t){return{type:se,name:e,data:t}}class ce{static get keyphraseElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}static get isCornerstoneElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}static get seoScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_linkdex":"hidden_wpseo_linkdex")}static get readabilityScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_content_score":"hidden_wpseo_content_score")}static get inclusiveLanguageScoreElement(){var e;return document.getElementById(null!==(e=window.wpseoScriptData)&&void 0!==e&&e.isPost?"yoast_wpseo_inclusive_language_score":"hidden_wpseo_inclusive_language_score")}static set keyphrase(e){ce.keyphraseElement&&(ce.keyphraseElement.value=e)}static get keyphrase(){var e,t;return null!==(e=null===(t=ce.keyphraseElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set isCornerstone(e){ce.isCornerstoneElement&&(ce.isCornerstoneElement.value=e?"1":"0")}static get isCornerstone(){var e;return"1"===(null===(e=ce.isCornerstoneElement)||void 0===e?void 0:e.value)}static set seoScore(e){ce.seoScoreElement&&(ce.seoScoreElement.value=e)}static get seoScore(){var e,t;return null!==(e=null===(t=ce.seoScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set readabilityScore(e){ce.readabilityScoreElement&&(ce.readabilityScoreElement.value=e)}static get readabilityScore(){var e,t;return null!==(e=null===(t=ce.readabilityScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}static set inclusiveLanguageScore(e){ce.inclusiveLanguageScoreElement&&(ce.inclusiveLanguageScoreElement.value=e)}static get inclusiveLanguageScore(){var e,t;return null!==(e=null===(t=ce.inclusiveLanguageScoreElement)||void 0===t?void 0:t.value)&&void 0!==e?e:""}}const le="CONTENT_ANALYSIS_",ue=`${le}SET_SEO_RESULTS`,de=`${le}SET_SEO_RESULTS_FOR_KEYWORD`,pe=`${le}UPDATE_SEO_RESULT`,Ee=`${le}REMOVE_KEYWORD`,ge=`${le}SET_READABILITY_RESULTS`,me=`${le}UPDATE_READABILITY_RESULT`,_e=`${le}SET_INCLUSIVE_LANGUAGE_RESULTS`,Te=`${le}UPDATE_INCLUSIVE_LANGUAGE_RESULT`,Se=`${le}SET_OVERALL_READABILITY_SCORE`,ye=`${le}SET_OVERALL_SEO_SCORE`,we=`${le}SET_OVERALL_INCLUSIVE_LANGUAGE_SCORE`;function Ie(e,t){return{type:de,keyword:e,results:t}}function Ae(e){return{type:ge,results:e}}function Re(e){return{type:_e,results:e}}function he(e){return ce.readabilityScore=e,{type:Se,overallScore:e}}function fe(e,t){return ce.seoScore=e,{type:ye,keyword:t,overallScore:e}}function De(e){return ce.inclusiveLanguageScore=e,{type:we,overallScore:e}}const Oe="WPSEO_",Pe=`${Oe}LOAD_CORNERSTONE_CONTENT`,ve=`${Oe}TOGGLE_CORNERSTONE_CONTENT`,be=`${Oe}SET_CORNERSTONE_CONTENT`,Ce=()=>({type:be,isCornerstone:ce.isCornerstone}),Ne=e=>(ce.isCornerstone=e,{type:be,isCornerstone:e}),Le=()=>(ce.isCornerstone=!ce.isCornerstone,{type:ve}),Me="SET_CURRENT_PROMOTIONS";function ke(e){return{type:Me,payload:e}}const We="SET_EDITOR_DATA_CONTENT",Ue="SET_EDITOR_DATA_TITLE",Fe="SET_EDITOR_DATA_EXCERPT",Ke="SET_EDITOR_DATA_IMAGE_URL",xe="SET_EDITOR_DATA_SLUG";function He(e){return{type:We,content:e}}function Be(e){return{type:Ue,title:e}}function Ge(e){return{type:Fe,excerpt:e}}function Ve(e){return{type:Ke,imageUrl:e}}function qe(e){return{type:xe,slug:e}}const Ye="OPEN_MODAL",je="CLOSE_MODAL";function $e(e){return{type:Ye,modalKey:e}}function Qe(){return{type:je}}const ze="WPSEO_",Xe=`${ze}LOAD_FOCUS_KEYWORD`,Ze=`${ze}SET_FOCUS_KEYWORD`,Je=()=>({type:Xe,keyword:ce.keyphrase}),et=function(e){return ce.keyphrase=e,{type:Ze,keyword:e}},tt="WPSEO_SET_MARKER_STATUS",rt=function(e){return{type:tt,marksButtonStatus:e}},nt="WPSEO_SET_MARKER_PAUSE_STATUS";function it(e){return{type:nt,isMarkerPaused:e}}const at="DISMISS_ALERT",st="DISMISS_ALERT_SUCCESS",ot="SET_DISMISSED_ALERTS";function*ct(e){return yield{type:at,alertKey:e},{type:st,alertKey:e}}function lt(e){return{type:ot,payload:e}}const ut="WPSEO_SET_PRIMARY_TAXONOMY",dt=(e,t)=>({type:ut,taxonomy:e,termId:t});class pt{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return pt.articleTypeInput.getAttribute("data-default")}static get articleType(){return pt.articleTypeInput.value}static set articleType(e){pt.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return pt.pageTypeInput.getAttribute("data-default")}static get pageType(){return pt.pageTypeInput.value}static set pageType(e){pt.pageTypeInput.value=e}}const Et="SET_PAGE_TYPE",gt="SET_ARTICLE_TYPE",mt="GET_SCHEMA_PAGE_DATA",_t="GET_SCHEMA_ARTICLE_DATA",Tt=e=>(pt.pageType=e,{type:Et,pageType:e}),St=e=>(pt.articleType=e,{type:gt,articleType:e}),yt=()=>({type:mt,pageType:pt.pageType,defaultPageType:pt.defaultPageType}),wt=()=>({type:_t,articleType:pt.articleType,defaultArticleType:pt.defaultArticleType}),It="MODAL_DISMISS",At="MODAL_OPEN",Rt="MODAL_OPEN_NO_KEYPHRASE";function ht(){return{type:It}}function ft(e){return{type:At,location:e}}function Dt(){return{type:Rt}}const Ot="CHANGE_COUNTRY",Pt="SET_REQUEST_SUCCEEDED",vt="SET_REQUEST_FAILED",bt="SET_LIMIT_REACHED",Ct="NEW_REQUEST",Nt="NO_DATA_FOUND",Lt="SET_LOGIN_STATUS";function Mt(e,t){return{type:Ct,countryCode:e,keyphrase:t}}function kt(e){return{type:Pt,response:e}}function Wt(e){return{type:vt,response:e}}function Ut(){return{type:bt}}function Ft(e){return{type:Ot,countryCode:e}}function Kt(){return{type:Nt}}function xt(e){return{type:Lt,loginStatus:e}}const Ht="SET_SETTINGS",Bt="SET_CONTENT_IMAGE",Gt="UPDATE_SNIPPET_EDITOR_SETTINGS",Vt=function(e){return{type:Ht,settings:e}},qt=function(e){return{type:Bt,src:e}},Yt=function(e){return{type:Gt,snippetEditor:e}},jt="SET_SHOPPING_DATA";function $t(e){return{type:jt,shoppingData:e}}const Qt=window.yoast.helpers,zt="SNIPPET_EDITOR_SWITCH_MODE",Xt="SNIPPET_EDITOR_UPDATE_DATA",Zt="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",Jt="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",er="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",tr="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLES_BATCH",rr="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",nr="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",ir="SNIPPET_EDITOR_REFRESH",ar="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",sr="LOAD_SNIPPET_EDITOR_DATA";function or(e){return{type:zt,mode:e}}function cr(e){return{type:Xt,data:e}}function*lr(e,t){const r=yield{type:Zt,query:e,postId:t};return{type:Jt,results:r}}function ur(e,t,r="",n=!1){const i="string"==typeof t?(0,Qt.decodeHTML)(t):t;return{type:er,name:e,value:i,label:r,hidden:n}}function dr(e){return{type:tr,updatedVariables:e}}function pr(e){return{type:ar,wordsToHighlight:e}}function Er(e){return{type:nr,name:e}}function gr(){return{type:ir,time:(new Date).getMilliseconds()}}function mr(e){return{type:rr,data:e}}const _r=window.wp.data;class Tr{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}static get imageIdElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}static get imageUrlElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}static get title(){return Tr.titleElement.value}static set title(e){Tr.titleElement.value=e}static set description(e){Tr.descriptionElement.value=e}static get description(){return Tr.descriptionElement.value}static set imageId(e){Tr.imageIdElement.value=e}static get imageId(){return Tr.imageIdElement.value}static set imageUrl(e){Tr.imageUrlElement.value=e}static get imageUrl(){return Tr.imageUrlElement.value}}const Sr="SET_TWITTER_TITLE",yr="SET_TWITTER_DESCRIPTION",wr="SET_TWITTER_IMAGE",Ir="CLEAR_TWITTER_IMAGE",Ar="LOAD_TWITTER_PREVIEW",Rr=e=>(e.trim()===(0,_r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?Tr.title="":Tr.title=e,{type:Sr,title:e}),hr=e=>(e.trim()===(0,_r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?Tr.description="":Tr.description=e,{type:yr,description:e}),fr=e=>(Tr.imageId=e.id,Tr.imageUrl=e.url,{type:wr,image:e}),Dr=()=>(Tr.imageId="",Tr.imageUrl="",{type:Ir}),Or=()=>{const{getSocialDescriptionTemplate:e,getSocialTitleTemplate:t}=(0,_r.select)("yoast-seo/editor");return{type:Ar,imageId:Tr.imageId,imageUrl:Tr.imageUrl,description:Tr.description||e(),title:Tr.title||t()}};class Pr{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}static get imageIdElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}static get imageUrlElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}static get title(){return Pr.titleElement.value}static set title(e){Pr.titleElement.value=e}static set description(e){Pr.descriptionElement.value=e}static get description(){return Pr.descriptionElement.value}static set imageId(e){Pr.imageIdElement.value=e}static get imageId(){return Pr.imageIdElement.value}static set imageUrl(e){Pr.imageUrlElement.value=e}static get imageUrl(){return Pr.imageUrlElement.value}}const vr="SET_FACEBOOK_TITLE",br="SET_FACEBOOK_DESCRIPTION",Cr="SET_FACEBOOK_IMAGE",Nr="CLEAR_FACEBOOK_IMAGE",Lr="LOAD_FACEBOOK_PREVIEW",Mr=e=>(e.trim()===(0,_r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?Pr.title="":Pr.title=e,{type:vr,title:e}),kr=e=>(e.trim()===(0,_r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?Pr.description="":Pr.description=e,{type:br,description:e}),Wr=e=>(Pr.imageUrl=e.url,Pr.imageId=e.id,{type:Cr,image:e}),Ur=()=>(Pr.imageId="",Pr.imageUrl="",{type:Nr}),Fr=()=>{const{getSocialDescriptionTemplate:e,getSocialTitleTemplate:t}=(0,_r.select)("yoast-seo/editor");return{type:Lr,imageId:Pr.imageId,imageUrl:Pr.imageUrl,description:Pr.description||e(),title:Pr.title||t()}},Kr="SET_WARNING_MESSAGE";function xr(e){return{type:Kr,message:e}}const Hr="WINCHER_MODAL_DISMISS",Br="WINCHER_MODAL_OPEN",Gr="WINCHER_MODAL_OPEN_NO_KEYPHRASE";function Vr(){return{type:Hr}}function qr(e){return{type:Br,location:e}}function Yr(){return{type:Gr}}const jr="WINCHER_SET_REQUEST_SUCCEEDED",$r="WINCHER_SET_REQUEST_FAILED",Qr="WINCHER_SET_KEYPHRASE_LIMIT_REACHED",zr="WINCHER_NEW_REQUEST",Xr="WINCHER_SET_LOGIN_STATUS",Zr="WINCHER_FORCE_SEO_PERFORMANCE_TRACKED_KEYPHRASES",Jr="WINCHER_SET_AUTOMATICALLY_TRACK_ALL_REQUEST";function en(){return{type:zr}}function tn(e){return{type:jr,response:e}}function rn(e){return{type:$r,response:e}}function nn(e){return{type:Qr,limit:e}}function an(e,t){return{type:Xr,loginStatus:e,newlyAuthenticated:t}}function sn(e){return{type:Zr,trackAll:e}}function on(e){return{type:Jr,automaticallyTrack:e}}const cn="WINCHER_SET_WEBSITE_ID",ln="WINCHER_SET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE",un="WINCHER_UNSET_SEO_PERFORMANCE_TRACKING_FOR_KEYPHRASE",dn="WINCHER_SET_SEO_PERFORMANCE_TRACKED_KEYPHRASES";function pn(e){return{type:cn,websiteId:e}}function En(e){return{type:ln,keyphraseObject:e}}function gn(e){return{type:un,untrackedKeyphrase:e}}function mn(e){return{type:dn,trackedKeyphrases:e}}const Tn="SET_IS_PREMIUM",Sn=e=>({type:Tn,payload:e}),yn="SET_POST_ID",wn=e=>({type:yn,payload:e}),{setLinkParams:In}=l,{setPluginUrl:An}=m,{setWistiaEmbedPermission:Rn,setWistiaEmbedPermissionValue:hn}=h,fn={estimatedReadingTime:0,textLength:{}},Dn={results:[],overallScore:null},On={};function Pn(e,t,r){return Object.assign({},e,{[t]:{results:r}})}const vn={},bn=(0,_r.combineReducers)({seo:function(e=On,t){switch(t.type){case ue:return function(e){const t={};return e.resultsPerKeyword.forEach((function(e){t[e.keyword]={results:e.results}})),t}(t);case pe:return function(e,t){return e[t.keyword]?-1!==(0,a.findIndex)(e[t.keyword].results,{id:t.result.id})?function(e,t){const r=Array.from(e[t.keyword].results,(e=>e.id===t.result.id?t.result:e));return Object.assign({},e,{[t.keyword]:{results:r}})}(e,t):Object.assign({},e,{[t.keyword]:{results:[...e[t.keyword].results,t.result]}}):Pn(e,t.keyword,[t.result])}(e,t);case Ee:return(0,a.omit)(e,t.keyword);case de:return function(e,t){return e[t.keyword]?Object.assign({},e,{[t.keyword]:{results:t.results}}):Pn(e,t.keyword,t.results)}(e,t);case ye:return function(e,t){return Object.assign({},e,{[t.keyword]:{...e[t.keyword],overallScore:t.overallScore}})}(e,t);default:return e}},readability:function(e=vn,t){switch(t.type){case ge:return function(e,t){return Object.assign({},e,{results:t.results})}(e,t);case me:return function(e,t){if((0,a.isUndefined)(e.results))return Object.assign({},e,{results:[t.result]});const r=(0,a.findIndex)(e.results,{id:t.result.id});if(-1!==r){const n=e.results.filter((function(t){return t!==e.results[r]}));return Object.assign({},e,{results:n.concat(t.result)})}return Object.assign({},e,{results:[...e.results,t.result]})}(e,t);case Se:return function(e,t){return Object.assign({},e,{overallScore:t.overallScore})}(e,t);default:return e}},inclusiveLanguage:function(e=Dn,t){switch(t.type){case _e:return function(e,t){return Object.assign({},e,{results:t.results})}(e,t);case Te:return function(e,t){if((0,a.isUndefined)(e.results))return Object.assign({},e,{results:[t.result]});const r=(0,a.findIndex)(e.results,{id:t.result.id});if(-1!==r){const n=e.results.filter((function(t){return t!==e.results[r]}));return Object.assign({},e,{results:n.concat(t.result)})}return Object.assign({},e,{results:[...e.results,t.result]})}(e,t);case we:return function(e,t){return Object.assign({},e,{overallScore:t.overallScore})}(e,t);default:return e}}}),Cn={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",wordproofTimestamp:!1,isLoading:!0},Nn={snippet:{},timestamp:0,shortcodesForParsing:[]},Ln={checklistItems:{}},Mn={content:"",excerpt:"",imageUrl:"",slug:"",title:""},kn={openedModal:""},Wn={title:"",description:"",warnings:[],image:{url:"",id:"",alt:""}};function Un(){return(0,a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}function Fn(){const e=Un();return 1===(0,a.get)(e,"contentAnalysisActive",0)}function Kn(){const e=Un();return 1===(0,a.get)(e,"keywordAnalysisActive",0)}function xn(){const e=Un();return 1===(0,a.get)(e,"inclusiveLanguageAnalysisActive",0)}function Hn(){const e=Un();return 1===(0,a.get)(e,"cornerstoneActive",0)}const Bn=function(){const e=Un();return(0,a.get)(e,"wordFormRecognitionActive",!1)};function Gn(){const e=Un();return 1===(0,a.get)(e,"semrushIntegrationActive",0)}function Vn(){const e=Un();return 1===(0,a.get)(e,"zapierIntegrationActive",0)}function qn(){const e=Un();return 1===(0,a.get)(e,"zapierConnectedStatus",0)}function Yn(){const e=Un();return 1===(0,a.get)(e,"wincherIntegrationActive",0)}function jn(){const e=Un();return 1===(0,a.get)(e,"wordproofIntegrationActive",0)}const $n={},Qn={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""},zn={whichModalOpen:"none",displayNoKeyphraseMessage:!1},Xn={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1},Zn={},Jn=window.wp.i18n,ei=window.wp.sanitize;function ti(e){return e.charAt(0).toUpperCase()+e.slice(1)}window.React,window.wp.element;const{stripHTMLTags:ri}=Qt.strings;function ni(e){return e=function(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}(e),ti(e)}function ii(e,t="_"){return e.replace(/\s/g,t)}const ai={title:"",description:"",warnings:[],image:{url:"",id:"",alt:""}},si={message:[]},oi={whichModalOpen:"none",hasNoKeyphrase:!1},ci={isSuccess:!1,response:null,limitReached:!1,isLoggedIn:!1,isNewlyAuthenticated:!1,limit:10,trackAll:!1,automaticallyTrack:!1,historyDaysLimit:0},li={websiteId:"",trackedKeyphrases:null,trackAll:!1},ui={activeMarker:function(e=null,t){return t.type===U?t.activeMarker:e},advancedSettings:(e=Cn,t)=>{switch(t.type){case Y:return{...e,...t.settings};case x:return{...e,noIndex:t.value};case H:return{...e,noFollow:t.value};case B:return{...e,advanced:t.value};case V:return{...e,canonical:t.value};case q:return{...e,wordproofTimestamp:t.value};case G:return{...e,breadcrumbsTitle:t.value};default:return e}},analysis:bn,analysisData:function(e=Nn,t){switch(t.type){case ee:return{...e,snippet:t.data};case te:return{...e,timestamp:t.timestamp};case re:return{...e,shortcodesForParsing:t.shortcodesForParsing}}return e},checklist:function(e=Ln,t){if(t.type===se){const r=Object.assign({},e);return r.checklistItems[t.name]=t.data,r}return e},currentPromotions:function(e={},t){return t.type===Me?{promotions:t.payload}:e},dismissedAlerts:function(e={},t){return t.type===st&&t.alertKey?{...e,[t.alertKey]:!0}:t.type===ot?{...t.payload}:e},editorContext:function(e=function(){return{contentLocale:(0,a.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===(0,a.get)(window,"wpseoScriptData.isBlockEditor","0"),isElementorEditor:"1"===(0,a.get)(window,"wpseoScriptData.isElementorEditor","0"),isPost:(0,a.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:(0,a.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===(0,a.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:(0,a.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:(0,a.get)(window,"wpseoAdminL10n.postTypeNamePlural",""),postStatus:(0,a.get)(window,"wpseoScriptData.postStatus","")}}()){return e},editorData:(e=Mn,t)=>{switch(t.type){case We:return{...e,content:t.content};case Fe:return{...e,excerpt:t.excerpt};case Ke:return{...e,imageUrl:t.imageUrl};case xe:return{...e,slug:t.slug};case Ue:return{...e,title:t.title}}return e},editorModals:function(e=kn,t){switch(t.type){case Ye:return{...e,openedModal:t.modalKey};case je:return{...e,openedModal:""}}return e},facebookEditor:(e=Wn,t)=>{switch(t.type){case Lr:return{...e,title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}};case vr:return{...e,title:t.title};case br:return{...e,description:t.description};case Cr:return{...e,warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url,alt:t.image.alt||""}};case Nr:return{...e,image:{url:"",id:"",alt:""},warnings:[]};default:return e}},focusKeyword:function(e="",t){switch(t.type){case Xe:case Ze:return t.keyword;default:return e}},insights:(e=fn,{type:t,payload:r})=>{switch(t){case P:case O:return{...e,estimatedReadingTime:r};case v:return{...e,fleschReadingEaseScore:r.score,fleschReadingEaseDifficulty:r.difficulty};case C:return{...e,textLength:r};default:return e}},isCornerstone:function(e=!1,t){switch(t.type){case ve:return!e;case be:return t.isCornerstone;default:return e}},isMarkerPaused:function(e=!1,t){return t.type===nt?function(e,t){return t.isMarkerPaused}(0,t):e},isPremium:(e=!1,t)=>t.type===Tn?t.payload:e,[s]:u,[p]:_,postId:(e=!1,t)=>t.type===yn?t.payload:e,marksButtonStatus:function(e="disabled",t){return t.type===tt?t.marksButtonStatus:e},preferences:function(e=function(){const e=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:Fn(),isKeywordAnalysisActive:Kn(),isInclusiveLanguageAnalysisActive:xn(),isWordFormRecognitionActive:(0,a.isUndefined)(window.wpseoPremiumMetaboxData)&&Bn(),isCornerstoneActive:Hn(),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoAdminL10n.isPrivateBlog,isSEMrushIntegrationActive:Gn(),shouldUpsell:(0,a.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:e,displaySchemaSettings:e&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,useOpenGraphData:window.wpseoScriptData.metabox.showSocial.facebook,useTwitterData:window.wpseoScriptData.metabox.showSocial.twitter,isZapierIntegrationActive:Vn(),isZapierConnected:qn(),isWincherIntegrationActive:Yn(),isWordProofIntegrationActive:jn(),isInsightsEnabled:(0,a.get)(window,"wpseoScriptData.metabox.isInsightsEnabled",!1),isNewsEnabled:!!window.wpseoAdminL10n.news_seo_is_active}}()){return e},primaryTaxonomies:function(e=$n,t){return t.type===ut?{...e,[t.taxonomy]:t.termId}:e},schemaTab:(e=Qn,t)=>{switch(t.type){case Et:return{...e,pageType:t.pageType};case gt:return{...e,articleType:t.articleType};case mt:return{...e,pageType:t.pageType,defaultPageType:t.defaultPageType};case _t:return{...e,articleType:t.articleType,defaultArticleType:t.defaultArticleType};default:return e}},SEMrushModal:function(e=zn,t){switch(t.type){case Rt:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case At:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case It:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e},SEMrushRequest:function(e=Xn,t){switch(t.type){case Ct:return{...e,isRequestPending:!0,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null};case Pt:return{...e,isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0};case vt:return{...e,isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1};case bt:return{...e,isRequestPending:!1,limitReached:!0,hasData:!1};case Ot:return{...e,countryCode:t.countryCode};case Nt:return{...e,isSuccess:!0,isRequestPending:!1,hasData:!1,response:null};case Lt:return{...e,isLoggedIn:t.loginStatus};default:return e}},settings:function(e={},t){switch(t.type){case Ht:return{...e,...t.settings};case Bt:{const r=Object.assign({},e.socialPreviews,{contentImage:t.src});return{...e,socialPreviews:{...r}}}case Gt:{const r=Object.assign({},e.snippetEditor,t.snippetEditor);return{...e,snippetEditor:{...r}}}default:return e}},shoppingData:function(e=Zn,t){if(t.type===jt){const r=(0,a.pick)(t.shoppingData,["rating","reviewCount","availability","price"]);return{...e,...r}}return e},snippetEditor:function(e=function(){return{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:[{name:"date",label:(0,Jn.__)("Date","wordpress-seo"),value:""},{name:"id",label:(0,Jn.__)("ID","wordpress-seo"),value:""},{name:"page",label:(0,Jn.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:(0,Jn.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:(0,Jn.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:(0,Jn.__)("Site title","wordpress-seo"),value:""},{name:"category",label:(0,Jn.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:(0,Jn.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:(0,Jn.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:(0,Jn.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:(0,Jn.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:(0,Jn.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:(0,Jn.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:(0,Jn.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:(0,Jn.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:(0,Jn.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:(0,Jn.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:(0,Jn.__)("Current year","wordpress-seo"),value:""}],uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0}}(),t){switch(t.type){case zt:return{...e,mode:t.mode};case Xt:return{...e,data:{...e.data,...t.data}};case er:return function(e,t){let r=!0,n=e.replacementVariables.map((e=>e.name===t.name?(r=!1,{name:t.name,label:t.label||e.label,value:t.value,hidden:e.hidden}):e));return r&&(n=function(e,t){return e.push({name:t.name,label:t.label||ni(t.name),value:t.value}),e}(n,t)),{...e,replacementVariables:n}}(e,t);case tr:return function(e,t){const r={},n=e.replacementVariables.map((e=>{const n=t.updatedVariables[e.name];return n?(r[e.name]=!0,{name:e.name,label:n.label||e.label,value:n.value,hidden:e.hidden}):e}));return Object.keys(t.updatedVariables).forEach((e=>{r[e]||n.push({name:e,label:t.updatedVariables[e].label||ni(e),value:t.updatedVariables[e].value,hidden:!1})})),{...e,replacementVariables:n}}(e,t);case Jt:return function(e,t){const r=t.results.filter((t=>!e.replacementVariables.some((e=>e.name==="cf_"+t.key))));if(0===r.length)return e;const n=[...r.map((e=>({name:"cf_"+ii(e.key),label:ti(e.key+" (custom field)"),value:e.value,hidden:!1}))),...e.replacementVariables];return{...e,replacementVariables:n}}(e,t);case rr:{const r=e.replacementVariables.map((e=>({name:e.name,label:e.label,value:e.value,hidden:t.data.includes(e.name)})));return{...e,replacementVariables:r}}case nr:return{...e,replacementVariables:e.replacementVariables.filter((e=>e.name!==t.name))};case ir:return{...e,uniqueRefreshValue:t.time};case ar:return{...e,wordsToHighlight:t.wordsToHighlight};case sr:return{...e,data:{...e.data,title:t.data.title,description:t.data.description,slug:t.data.slug},templates:{...e.templates,title:t.templates.title,description:t.templates.description},isLoading:!1}}return e},twitterEditor:(e=ai,t)=>{switch(t.type){case Ar:return{...e,title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}};case Sr:return{...e,title:t.title};case yr:return{...e,description:t.description};case wr:return{...e,image:{id:t.image.id,url:t.image.url,alt:t.image.alt||""},warnings:t.image.warnings};case Ir:return{...e,image:{url:"",id:"",alt:""},warnings:[]};default:return e}},warning:function(e=si,t){return t.type===Kr?{...e,message:t.message}:e},WincherModal:function(e=oi,t){switch(t.type){case Gr:return{whichModalOpen:"none",hasNoKeyphrase:!0};case Br:return{...e,hasNoKeyphrase:!1,whichModalOpen:t.location};case Hr:return{...e,whichModalOpen:"none",hasNoKeyphrase:!1}}return e},WincherRequest:function(e=ci,t){switch(t.type){case zr:return{...e,limitReached:!1,isSuccess:!1,response:null,isNewlyAuthenticated:!1};case jr:return{...e,isSuccess:!0,response:t.response};case $r:return{...e,isSuccess:!1,response:t.response};case Qr:return{...e,limitReached:!0,limit:t.limit};case Xr:return{...e,isLoggedIn:t.loginStatus,isNewlyAuthenticated:t.newlyAuthenticated};case Zr:return{...e,trackAll:t.trackAll};case Jr:return{...e,automaticallyTrack:t.automaticallyTrack};default:return e}},WincherSEOPerformance:function(e=li,t){switch(t.type){case cn:return{...e,websiteId:t.websiteId};case ln:return{...e,trackedKeyphrases:{...e.trackedKeyphrases,...t.keyphraseObject}};case un:return{...e,trackedKeyphrases:(0,a.pickBy)(e.trackedKeyphrases,((e,r)=>r!==t.untrackedKeyphrase))};case dn:return{...e,trackedKeyphrases:t.trackedKeyphrases}}return e},[I]:f};function di(){const e=Un();return(0,a.get)(e,"contentLocale","en_US")}const pi=e=>(0,a.get)(e,"insights.estimatedReadingTime",0),Ei=e=>(0,a.get)(e,"insights.fleschReadingEaseScore",null),gi=e=>(0,a.get)(e,"insights.fleschReadingEaseDifficulty",null),mi=e=>null!==Ei(e)&&null!==gi(e),_i=e=>(0,a.get)(e,"insights.textLength",{}),Ti=()=>{const e="en"===di().split("_")[0],t=Un().isPremium;return!!e&&(!t||window.wp.data.select("yoast-seo-premium/editor").hasOwnProperty("getTextFormalityLevel"))},Si=e=>(0,a.get)(e,"advancedSettings.noIndex",""),yi=e=>(0,a.get)(e,"advancedSettings.noFollow",""),wi=e=>(0,a.get)(e,"advancedSettings.advanced",""),Ii=e=>(0,a.get)(e,"advancedSettings.breadcrumbsTitle","summary"),Ai=e=>(0,a.get)(e,"advancedSettings.canonical",""),Ri=e=>(0,a.get)(e,"advancedSettings.wordproofTimestamp",!1),hi=e=>(0,a.get)(e,"advancedSettings.isLoading",!0),fi="yoast-measurement-element";function Di(e){let t=document.getElementById(fi);return t||(t=function(){const e=document.createElement("div");return e.id=fi,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}function Oi(e){return e.editorContext}function Pi(e){return"Page"===(0,a.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function vi(e){return"Product"===(0,a.get)(e,"editorContext.postTypeNameSingular")}function bi(e){return(0,a.get)(e,"editorContext.isBlockEditor",!1)}function Ci(e){return(0,a.get)(e,"editorContext.isElementorEditor",!1)}function Ni(e){return(0,a.get)(e,"editorContext.isTerm",!1)}function Li(e){return["draft","auto-draft"].includes((0,a.get)(e,"editorContext.postStatus",""))}function Mi(e){return Ci(e)?"elementorEditor":bi(e)?"blockEditor":"classicEditor"}function ki(e){return(0,a.get)(e,"editorContext.contentLocale","en_US")}const Wi=window.wp.hooks,Ui=e=>(0,a.get)(e,"editorData.content",""),Fi=e=>(0,a.get)(e,"editorData.title",""),Ki=e=>(0,a.get)(e,"editorData.excerpt"),xi=e=>{let t=(0,a.get)(e,"editorData.excerpt","");if(""===t){const r="ja"===di()?80:156;t=function(e,t=156){return(e=(e=(0,ei.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}((0,a.get)(e,"editorData.content",""),r)}return t},Hi=e=>(0,a.get)(e,"editorData.imageUrl",""),Bi=e=>{const t=[{featuredOrFirstImage:(0,a.get)(e,"editorData.imageUrl","")},{socialImage:(0,a.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:(0,a.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&(0,a.get)(e,"settings.socialPreviews.sitewideImage","")}];(0,Wi.applyFilters)("yoast.socials.imageFallback",t);for(const e of t)if(Object.values(e)[0])return Object.values(e)[0];return""},Gi=e=>(0,a.get)(e,"editorData.slug","");function Vi(e){return(0,a.get)(e,"focusKeyword","")}const qi=e=>{const t=(0,Wi.applyFilters)("yoast.focusKeyphrase.errors",[],Vi(e));return(0,a.isArray)(t)?t.filter(a.isString):[]},Yi=e=>(0,a.get)(e,"settings.socialPreviews.siteName",""),ji=e=>(0,a.get)(e,"settings.snippetEditor.baseUrl",""),$i=e=>(0,a.get)(e,"settings.snippetEditor.date",""),Qi=e=>(0,a.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[]),zi=e=>(0,a.get)(e,"settings.snippetEditor.siteIconUrl",""),Xi=e=>(0,a.get)(e,"snippetEditor.replacementVariables",[]),Zi=e=>(0,a.get)(e,"snippetEditor.templates",{title:"",description:""}),Ji=e=>(0,a.get)(e,"snippetEditor.mode","mobile"),ea=e=>(0,a.get)(e,"snippetEditor.data.title",""),ta=e=>(0,a.get)(e,"snippetEditor.data.title","")||Zi(e).title,ra=e=>(0,a.get)(e,"snippetEditor.data.description",""),na=e=>ra(e)||Zi(e).description,ia=e=>(0,a.get)(e,"snippetEditor.data.slug",""),aa=e=>(0,a.get)(e,"snippetEditor.data",{title:ea(e),description:ra(e),slug:ia(e)}),sa=e=>(0,a.get)(e,"snippetEditor.wordsToHighlight",[]),oa=e=>(0,a.get)(e,"snippetEditor.isLoading",!0),ca=e=>(0,a.get)(e,"snippetEditor.data.snippetPreviewImageURL",""),la=e=>(0,a.get)(e,"analysisData.snippet.title",""),ua=e=>(0,a.get)(e,"analysisData.snippet.description",""),da=e=>(0,a.get)(e,"analysisData.snippet.url",""),pa=e=>parseInt((0,a.get)(e,"analysisData.timestamp",0),10),Ea=e=>(0,a.get)(e,"analysisData.shortcodesForParsing",[]),ga=e=>{const t=la(e)||ea(e),r=ia(e);return{text:Ui(e),title:t,keyword:Vi(e),description:ua(e)||ra(e),locale:ki(e),titleWidth:Di(t),slug:r,permalink:ji(e)+r}};function ma(e){return e.isCornerstone}function _a(e){return e.checklist.checklistItems}function Ta(e,t){return e.currentPromotions.promotions.includes(t)}const Sa=(e,t)=>(0,a.get)(e,"editorModals.openedModal","")===t,ya=e=>(0,a.get)(e,"socialPreviews.contentImage",""),wa=e=>{const t=[{featuredImage:(0,a.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:(0,a.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:(0,a.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:(0,a.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&(0,a.get)(e,"settings.socialPreviews.sitewideImage","")}];(0,Wi.applyFilters)("yoast.socials.imageFallback",t);for(const e of t)if(Object.values(e)[0])return Object.values(e)[0];return""},Ia=()=>{let e=(0,a.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e),e.host)},Aa=()=>(0,a.get)(window,"wpseoScriptData.metabox.title_template",""),Ra=()=>(0,a.get)(window,"wpseoScriptData.metabox.title_template_no_fallback",""),ha=()=>(0,a.get)(window,"wpseoScriptData.metabox.social_title_template",""),fa=()=>(0,a.get)(window,"wpseoScriptData.metabox.metadesc_template",""),Da=()=>(0,a.get)(window,"wpseoScriptData.metabox.social_description_template",""),Oa=e=>{let t="";return(0,a.get)(e,"snippetEditor.replacementVariables",[]).forEach((e=>{"excerpt"===e.name&&(t=e.value)})),t},Pa=e=>(0,a.get)(e,"facebookEditor.title",""),va=e=>(0,a.get)(e,"facebookEditor.description",""),ba=e=>(0,a.get)(e,"facebookEditor.image.url"),Ca=e=>(0,a.get)(e,"facebookEditor.image.src",""),Na=e=>(0,a.get)(e,"facebookEditor.image.alt",""),La=e=>(0,a.get)(e,"facebookEditor.warnings",[]),Ma=(0,n.createSelector)([ha,la,Ra,Aa],((...e)=>e.find(Boolean)||"")),ka=(0,n.createSelector)([Pa,Ma],((e,t)=>e||t)),Wa=(0,n.createSelector)([Da,ua,fa,Oa,xi],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""})),Ua=(0,n.createSelector)([va,Wa],((e,t)=>e||t));function Fa(e){return e.activeMarker}function Ka(e){return e.isMarkerPaused}function xa(e){return"enabled"===e.marksButtonStatus}function Ha(e){return e.marksButtonStatus}function Ba(e,t){return!0===e.dismissedAlerts[t]}const Ga=(e,t,r=null)=>(0,a.get)(e,`preferences.${t}`,r),Va=e=>e.preferences,qa=e=>(0,a.get)(e,"preferences.isKeywordAnalysisActive",!1);function Ya(e,t){return e.primaryTaxonomies[t]}const ja=[],$a={};function Qa(e){const t=(0,a.get)(e,"analysis.seo",$a);return(0,a.isEmpty)(t)?{results:ja,overallScore:null}:t}function za(e,t){const r=Qa(e);return(0,a.get)(r,t,$a)}function Xa(e){const t=(0,a.get)(e,"analysis.readability",{});return(0,a.isEmpty)(t)?{results:ja,overallScore:null}:t}function Za(e){return(0,a.get)(e,"analysis.inclusiveLanguage",{results:ja,overallScore:null})}function Ja(e){return za(e,e.focusKeyword)}function es(e,t){return[...Ja(e).results||ja,...Xa(e).results||ja,...Za(e).results||ja].find((e=>e._identifier===t))}function ts(e){return e.marksButtonStatus}const rs=e=>(0,a.get)(e,"schemaTab.defaultPageType",""),ns=e=>(0,a.get)(e,"schemaTab.pageType",""),is=e=>(0,a.get)(e,"schemaTab.defaultArticleType",""),as=e=>(0,a.get)(e,"schemaTab.articleType","");function ss(e){return e.SEMrushModal.whichModalOpen}function os(e){return e.SEMrushModal.displayNoKeyphraseMessage}function cs(e){return e.SEMrushRequest.isRequestPending}function ls(e){return e.SEMrushRequest.isSuccess}function us(e){return e.SEMrushRequest.response}function ds(e){return e.SEMrushRequest.limitReached}function ps(e){return e.SEMrushRequest.keyphrase}function Es(e){return e.SEMrushRequest.countryCode}function gs(e){return e.SEMrushRequest.hasData}function ms(e){return e.SEMrushRequest.isLoggedIn}const _s=e=>(0,a.get)(e,"shoppingData",{}),Ts=e=>(0,a.get)(e,"twitterEditor.title",""),Ss=e=>(0,a.get)(e,"twitterEditor.description",""),ys=e=>(0,a.get)(e,"twitterEditor.image.url",""),ws=e=>(0,a.get)(e,"settings.socialPreviews.twitterCardType","summary"),Is=e=>(0,a.get)(e,"twitterEditor.image.src",""),As=e=>(0,a.get)(e,"twitterEditor.image.alt",""),Rs=e=>(0,a.get)(e,"twitterEditor.warnings",[]),hs=(0,n.createSelector)([ha,Pa,la,Ra,Aa],((...e)=>e.find(Boolean)||"")),fs=(0,n.createSelector)([Ts,hs],((e,t)=>e||t)),Ds=(0,n.createSelector)([Da,va,ua,fa,Oa,xi],((...e)=>{var t;return null!==(t=e.find(Boolean))&&void 0!==t?t:""})),Os=(0,n.createSelector)([Ss,Ds],((e,t)=>e||t));function Ps(e){return(0,a.get)(e,"warning.message",[])}function vs(e){return e.WincherModal.whichModalOpen}function bs(e){return e.WincherModal.hasNoKeyphrase}function Cs(e){return e.WincherRequest.isSuccess}function Ns(e){return e.WincherRequest.response}function Ls(e){return e.WincherRequest.limitReached}function Ms(e){return e.WincherRequest.isLoggedIn}function ks(e){return e.WincherRequest.isNewlyAuthenticated}function Ws(e){return e.WincherRequest.limit}function Us(e){return e.WincherRequest.historyDays}function Fs(e){return!0===e.WincherRequest.trackAll}function Ks(e){return e.WincherRequest.automaticallyTrack&&Li(e)}function xs(e){return e.WincherSEOPerformance.websiteId}function Hs(e){return e.WincherSEOPerformance.trackedKeyphrases}function Bs(e){return!(0,a.isEmpty)(e.WincherSEOPerformance.trackedKeyphrases)}function Gs(e){const t=Un().isPremium,r=window.wp.data.select("yoast-seo-premium/editor"),n=[e.focusKeyword.trim()];return t&&r&&n.push(...r.getKeywords().filter((e=>void 0!==e.keyword)).map((e=>e.keyword.trim()))),(0,a.uniq)(n.filter((e=>!!e)).map((e=>e.replace(/["+:\s]+/g," ").trim().toLocaleLowerCase()))).sort()}function Vs(e){const{trackedKeyphrases:t}=e.WincherSEOPerformance;return!(0,a.isEmpty)(t)&&(0,a.filter)(t,(e=>(0,a.isEmpty)(e.updated_at))).length===Object.keys(t).length}function qs(e){const t=ga(e);return t.slug?t.permalink:""}const Ys=e=>(0,a.get)(e,"isPremium",!1),js=()=>(0,a.get)(window,"wpseoScriptData.woocommerceUpsell",!1),$s=()=>Boolean((0,a.get)(window,"wpseoScriptData.isWooCommerceSeoActive",!1)),Qs=e=>(0,a.get)(e,"postId",null),{selectLinkParams:zs,selectLinkParam:Xs,selectLink:Zs}=c,{selectPluginUrl:Js,selectImageLink:eo}=g,{selectWistiaEmbedPermission:to,selectWistiaEmbedPermissionValue:ro,selectWistiaEmbedPermissionStatus:no,selectWistiaEmbedPermissionError:io}=R;window.yoast=window.yoast||{},window.yoast.externals=window.yoast.externals||{},window.yoast.externals.redux={selectors:r,reducers:ui,actions:t}})();